import React from 'react';

import style from './logo.less';

interface LogoProps {
  src: string | undefined;
  projectTitle: string;
}

const Logo: React.FC<LogoProps> = (props: LogoProps) => {
  const { src, projectTitle } = props;
  return (
    <div className={style.logo}>
      <img src={src} alt="" />
      <h3>{projectTitle}</h3>
    </div>
  );
};

export default Logo;
